home *** CD-ROM | disk | FTP | other *** search
- Path: news.cais.com!news
- From: Chris Reiser <creiser@ids2.idsonline.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Linker Error: Segment xx exceeds 64k?
- Date: Thu, 28 Mar 1996 23:28:22 -0500
- Organization: Capital Area Internet Service info@cais.com 703-448-4470
- Message-ID: <315B66E6.68C6@ids2.idsonline.com>
- References: <315a6e3a.4050698@netnews.ntu.edu.tw>
- NNTP-Posting-Host: ip238.idsonline.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- : Benjamin Han wrote:
- : >
- : > Yes, that's exactly what I got from my Borland C++ 4.53 compiler (Linker Error:
- : > Segment xx exceeds 64k). I was trying to rebuild a CodeGuard-enabled target with
- : > EasyWin mode. The same rebuilding process went just fine with Win32 console
- : > mode. Any work-around? Thanks in advance.
- : >
- : > Benjamin Han
- : > ben@water.ee.nsysu.edu.tw
- : >
- : > Dept. of E.E., National Sun Yat-sen Univ.
- : > Taiwan.
-
- It looks like you are making a 16 bit program here. Your code is larger than 64K, so it must
- be broken down to smaller units. If you have seperate source files, assign them to different
- segments (in Microsoft use #pragma segment( name? ) ) make a *.def file listing the seperate
- segments.
-